var CometSettings = new function() {
	this._connected=false;
	this._taskId;
	this._events = {
		showPrezEvent : null,	
	};
	
	this.init = function(cometURL,logLevel,taskId,showPrezEvent){
		$.cometd.configure({
            url: cometURL,
            logLevel: logLevel,
        });
		this._taskId = taskId;
		this._events.showPrezEvent = showPrezEvent;
	}
};